package cn.deepxi.base.service;

import cn.deepxi.base.query.BasicQuery;
import cn.deepxi.org.domain.Department;
import cn.deepxi.org.query.DeptQuery;
import cn.deepxi.utils.QueryResult;

import java.util.List;

public interface IBaseService<T> {
    void add(T t);
    void del(Long id);
    void upt(T t);
    T findById(Long id);
    List<T> findAll();
    QueryResult<T> queryData(BasicQuery query);
    void patchDel(List<Long> ids);
}
